package com.niit.onlinemusicserver34;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@MapperScan("com.niit.onlinemusicserver34.mapper")
@CrossOrigin
@EnableCaching // 整个项目启用缓存
public class OnlinemusicServer34Application {

    public static void main(String[] args) {
        SpringApplication.run(OnlinemusicServer34Application.class, args);
    }

}
